#include "sequential.h"


int main()
{
	SL sl;
	SLInit(&sl);
	for (int i = 0; i < 20; i++)
	{
		//SLPushBack(&sl, i);
		SLPushFront(&sl, i);
	}
	
	for (int i = 0; i < 20; i++)
	{

		printf("%d ", sl.data[i]);
		//SLPopBack(&sl);
	}
	printf("\n");
	printf("%d\n", sl.num);
	printf("%d\n", SLFind(&sl,5));
	SLInsert(&sl, 2, 3);
	for (int i = 0; i < 21; i++)
	{

		printf("%d ", sl.data[i]);
		//SLPopBack(&sl);
	}
	SLErase(&sl, 2, 3);
	printf("\n");
	for (int i = 0; i < 20; i++)
	{

		printf("%d ", sl.data[i]);
		//SLPopBack(&sl);
	}

	return 0;
}







































































